package lottery;
import java.io.Serializable;

public class LotteryProd implements Serializable {
	public static enum Type {
		POINTS, 
		ODDMENTS, 
		COUPON, 
		NOTHING 
	}

	private long id;
	private Type type = Type.NOTHING;
	private String prize;
	private int amount = 1;
	private long odds;
	private String mark;
	private boolean valid = true;
	private int level;

	private LotteryProd() {
	}

	public LotteryProd(long id, Type type, String prize, int amount, long odds, String mark,int level) {
		this.type = type;
		this.prize = prize;
		this.amount = amount;
		this.odds = odds;
		this.mark = mark;
		this.level = level;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public String getPrize() {
		return prize;
	}

	public void setPrize(String prize) {
		this.prize = prize;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public long getOdds() {
		return odds;
	}

	public void setOdds(long odds) {
		this.odds = odds;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public boolean isValid() {
		return valid;
	}

	public void setValid(boolean valid) {
		this.valid = valid;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}
}
